home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / DESQTEMP.TEC < prev    next >
Text File  |  1992-03-27  |  4KB  |  71 lines

  1. ID:DT The DESQTMP Feature
  2. Quarterdeck Technical Note #236
  3. by Michael Bolton
  4. Last Revision: 10 March 1992
  5.  
  6. DESQview's Mark and Transfer feature is one very easy way for applications to 
  7. exchange information.  For larger blocks of information that require quick and 
  8. easy access, DESQview provides another facility.  As your DESQview manual 
  9. states (check the index for references to "DESQTMP?.* files"), any DOS file 
  10. that begins with the string DESQTMP is treated specially by DESQview. 
  11. Regardless of the pathname that you specify, DESQTMP?.* files are always saved 
  12. to or retrieved from the DESQview directory.  Such files can be saved to or 
  13. retrieved from any directory while you are running DESQview; DESQview will 
  14. make DESQTMP?.* files available in the current directory.
  15.  
  16. This feature originally existed because some programs were incapable of 
  17. reading from or writing to subdirectories, making life difficult for users in 
  18. general, and DESQview users in particular.  Exchanging information between 
  19. such applications was particularly difficult, since the user would have to 
  20. save the file, go to DOS (or DOS Services), copy the file to the appropriate 
  21. directory, erase the original file, switch to the second application, and 
  22. modify the original data.  Modern applications are far more aware of DOS's 
  23. directory structure, and therefore one of DESQTMP's original purposes has been 
  24. superseded by smarter, more flexible applications.
  25.  
  26. Still, the DESQTMP feature, in and of itself, can be quite useful by saving 
  27. you typing; you need not enter the extra keystrokes required for a pathname to 
  28. the file of interest.  For programs which use common file formats, DESQTMP 
  29. files can thus be used as a form of clipboard; simply save the file in one 
  30. window, switch to another window, and retrieve the same file.
  31.  
  32. For example, assume that you have loaded a word processor and fax software 
  33. under DESQview, and that the two programs have not been specially written to 
  34. be aware of each other.  When you have finished editing the file, and wish to 
  35. save it in as an ASCII text file for your fax, you might choose to name it 
  36. DESQTMP.FAX, and save it without regard to where the file is being saved --
  37. whatever the current directory used by your word processor.  You would then 
  38. switch to your fax program, and issue the command to send the file DESQTMP.FAX 
  39. from the current directory used by the fax software.  DESQview intercepts the 
  40. DESQTMP?.* filename, and treats the file as if it was in the fax software's 
  41. current directory.
  42.  
  43. Note that the DESQTMP feature can be used to transfer information between two 
  44. copies of the same program, or between any two programs with compatible file 
  45. formats.  This means that database, spreadsheet, or graphics files are as 
  46. portable as any other format.  Mark and Transfer, though very fast and 
  47. powerful, is restricted to ASCII text.
  48.  
  49. Since any digit or letter can be used for the last character in the DESQTMP?.* 
  50. filename, and since any combination of letters or digits can be used for the 
  51. extension, the effect is not simply that of a single, simple clipboard, but of 
  52. (potentially) thousands of clipboards.
  53.  
  54. These days, the DESQTMP feature is at its most powerful when it is combined 
  55. with DESQview Scripts.  Since DESQTMP?.* always appears to be in the current 
  56. directory, your script need not be modified every time you wish to run it from 
  57. a different directory, or when it needs to access a different file.  Thus, a 
  58. single keystroke can save a file from one application, switch to another, and 
  59. retrieve the file in the new window.  Your script need not be aware of the 
  60. source or destination directories, since DESQview simply puts the file in its 
  61. own directory without the application's knowledge.  This can make scripts 
  62. portable across mulitple drives, and may even make a script portable between 
  63. two machines that are running the same software, but with different directory 
  64. structures.
  65.  
  66.   ************************************************************************
  67.   *This technical note may be copied and distributed freely as long as it*
  68.   *is distributed in its entirety and it is not distributed for profit.  *
  69.   *          Copyright (C) 1992 by Quarterdeck Office Systems            *
  70.   ************************ E N D   O F   F I L E *************************
  71.